]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
magnifier: Don't set the size of the uiGroup
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 30 Aug 2012 21:01:49 +0000 (18:01 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 31 Aug 2012 19:43:51 +0000 (16:43 -0300)
The magnifier shouldn't mess with global properties like this.

https://bugzilla.gnome.org/show_bug.cgi?id=683073

js/ui/magnifier.js

index 91263b71dbb9e2b945cd64d51da31f2eb5b9251a..99c1dd46cb65d61acfd16606a7629b56621a6be9 100644 (file)
@@ -1090,7 +1090,6 @@ const ZoomRegion = new Lang.Class({
         // chrome, the windows, etc.
         this._uiGroupClone = new Clutter.Clone({ source: Main.uiGroup });
         mainGroup.add_actor(this._uiGroupClone);
-        Main.uiGroup.set_size(global.screen_width, global.screen_height);
         this._background.set_size(global.screen_width, global.screen_height);
 
         // Add either the given mouseSourceActor to the ZoomRegion, or a clone of
@@ -1353,7 +1352,6 @@ const ZoomRegion = new Lang.Class({
         if (!this.isActive())
             return;
 
-        Main.uiGroup.set_size(global.screen_width, global.screen_height);
         this._background.set_size(global.screen_width, global.screen_height);
 
         if (this._screenPosition == GDesktopEnums.MagnifierScreenPosition.NONE)